<?php
/* Interface for serving JsonRpc-calls from clients
 *
 */
interface AIS_JsonRpc2Service
{
	/**
	 * Adds all Methods from a class to this PHP-Service
	 *
	 * @param string $className
	 */
	public function setClass($className);
	/**
	 * Gets the JsonRpc-Response for a JsonRpc Request
	 * 
	 * @param string $request The JsonRpc-Request in String-Format
	 * @return string The JsonRpc-Response in String-Format
	 */
	public function getJsonResponse($request);
}
?>